From b4a6d69f5d43d6642cd00b21386aed715c18171b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Timm=20B=C3=A4der?= Date: Fri, 9 Aug 2019 10:35:10 +0200 Subject: [PATCH] scale: Allocate left marks next to trough --- gtk/gtkscale.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/gtkscale.c b/gtk/gtkscale.c index 9627d278f5..eaf5056bb3 100644 --- a/gtk/gtkscale.c +++ b/gtk/gtkscale.c @@ -594,7 +594,7 @@ gtk_scale_size_allocate (GtkWidget *widget, GTK_ORIENTATION_HORIZONTAL, -1, &marks_width, NULL, NULL, NULL); - marks_rect.x = 0; + marks_rect.x = range_rect.x - marks_width; marks_rect.y = 0; marks_rect.width = marks_width; marks_rect.height = range_rect.height; -- 2.30.2